package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_user_type")
public class OmcUserType extends BaseEntity {

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 人员类别名
     */
    @Column(name = "user_type_name")
    private String userTypeName;


    /**
     * 人员类别编码
     */
    @Column(name = "user_type_code")
    private String userTypeCode;

    /**
     * 备注
     */
    private String remark;

    public OmcUserType(){}

    //构造方法
    public OmcUserType(String userTypeName , String userTypeCode , Long groupId){
        this.userTypeName = userTypeName;
        this.userTypeCode = userTypeCode;
        this.groupId = groupId;
    }
}